import axios from "./axios";

export const login = (data)=>
    axios.post('/user/login',data)

export const register = (data)=>
    axios.post('/user/register',data)

export const changeInfo = (data)=>
    axios.post('/user/edit',data)

export const uploadAvatar = (data)=>
    axios.post('/user/uploadAvatar',data)
